package com.manli.api.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

/**
 * 七牛上传文件信息
 * 
 * @author manli
 * @email 
 * @date 2020-06-18 13:10:21
 */
@ApiModel(value = "七牛上传文件信息")
@Data
public class AQiniuFiles implements Serializable {

	/**
	 * 
	 */

    @ApiModelProperty(value = "",dataType = "Integer")
	    private Integer id;
	/**
	 * 文件名
	 */

    @ApiModelProperty(value = "文件名",dataType = "String")
	    private String fileName;
	/**
	 * 文件大小
	 */

    @ApiModelProperty(value = "文件大小",dataType = "Long")
	    private Long fileSize;
	/**
	 * 添加时间
	 */

    @ApiModelProperty(value = "添加时间",dataType = "Date")
	    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Date addTime;
	/**
	 * 文件类型
	 */

    @ApiModelProperty(value = "文件类型",dataType = "String")
	    private String mimeType;
	/**
	 * 七牛访问地址
	 */

    @ApiModelProperty(value = "七牛访问地址",dataType = "String")
	    private String qiqiuUrl;
	/**
	 * 1正常，0删除
	 */

    @ApiModelProperty(value = "1正常，0删除",dataType = "Integer")
	    private Integer status;

	/**
	 * 文件类型
	 */
	@ApiModelProperty(value = "",dataType = "Integer")
	private Integer type;

}
